package stirling.software.SPDF.controller.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/general")
public class DefaultController {

    @GetMapping("/heartbeat")
    @ResponseBody
    public String heartbeat() {
        return "everything is ok";
    }
}
